package com.huitone.gddw.service.dto.analysis.longsms;

import java.util.Date;

import com.huitone.gddw.common.excel.ColToProperty;
import com.huitone.gddw.common.excel.Original;
import com.huitone.gddw.common.excel.ServiceType;
import com.huitone.gddw.common.excel.SvrNode;
import com.huitone.gddw.common.excel.TabCol;

/**
 * 超长短信统计
 * @author wuluodan
 *
 */
public class LongSmsRepDTO {

	@Original
	@SvrNode
	@ServiceType
	@ColToProperty
	@TabCol(Index = 1, title = "序号", width = "30")
	private Integer seq;
	
	private Date sendTime;
	
	@Original
	@SvrNode
	@ServiceType
	@ColToProperty
	@TabCol(Index = 2, title = "时间", width = "65")
	private String sendTimeDate;
	
	private String svrNode;
	
	@SvrNode
	@ColToProperty
	@TabCol(Index = 3, title = "业务端", width = "90")
	private String svrNodeName;
	
//	private String smFrom;
//	
//	@ColToProperty
//	@TabCol(Index = 3, title = "来源端", width = "90")
//	private String smFromStr;
	
	private String serviceCode;

	@ServiceType
	@ColToProperty
	@TabCol(Index = 4, title = "业务类型", width = "90")
    private String serviceName;

	@Original
	@SvrNode
	@ServiceType
	@ColToProperty
	@TabCol(Index = 5, title = "长短信条数", width = "65")
	private Long longSmsCount;

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getSendTimeDate() {
		return sendTimeDate;
	}

	public void setSendTimeDate(String sendTimeDate) {
		this.sendTimeDate = sendTimeDate;
	}

//	public String getSmFrom() {
//		return smFrom;
//	}
//
//	public void setSmFrom(String smFrom) {
//		this.smFrom = smFrom;
//	}
//
//	public String getSmFromStr() {
//		if (null == this.smFrom) return "未知";
//		if (this.smFrom.equals("1")) return "集中接口";
//		if (this.smFrom.equals("2")) return "旧平台接口";
//		if (this.smFrom.equals("3")) return "短信门户";
//		return "未知";
//	}
//
//	public void setSmFromStr(String smFromStr) {
//		this.smFromStr = smFromStr;
//	}

	public String getSvrNode() {
		return svrNode;
	}

	public void setSvrNode(String svrNode) {
		this.svrNode = svrNode;
	}

	public String getSvrNodeName() {
		return svrNodeName;
	}

	public void setSvrNodeName(String svrNodeName) {
		this.svrNodeName = svrNodeName;
	}

	public String getServiceCode() {
		return serviceCode;
	}

	public void setServiceCode(String serviceCode) {
		this.serviceCode = serviceCode;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public Long getLongSmsCount() {
		return longSmsCount;
	}

	public void setLongSmsCount(Long longSmsCount) {
		this.longSmsCount = longSmsCount;
	}
	
}
